<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Open SCA: TestableObject_impl Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="customdoxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.onetek.net"><img alt="Logo" src="openscaLogo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Open SCA
   &#160;<span id="projectnumber">Version 0.6.0</span>
   </div>
   <div id="projectbrief">Open SCA</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_testable_object__impl.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="class_testable_object__impl-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">TestableObject_impl Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>The testable object interface provides a means to perform stand alone testing of an SCA component.  
 <a href="class_testable_object__impl.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_resource__impl_8h_source.html">Resource_impl.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for TestableObject_impl:</div>
<div class="dyncontent">
<div class="center"><img src="class_testable_object__impl__inherit__graph.png" border="0" usemap="#_testable_object__impl_inherit__map" alt="Inheritance graph"/></div>
<map name="_testable_object__impl_inherit__map" id="_testable_object__impl_inherit__map">
</map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ae365cafdda56fab7156938d015d43064"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_testable_object__impl.html#ae365cafdda56fab7156938d015d43064">~TestableObject_impl</a> ()</td></tr>
<tr class="memdesc:ae365cafdda56fab7156938d015d43064"><td class="mdescLeft">&#160;</td><td class="mdescRight">The testable object interface provides a means to perform stand alone testing of an SCA component.  <a href="#ae365cafdda56fab7156938d015d43064">More...</a><br /></td></tr>
<tr class="separator:ae365cafdda56fab7156938d015d43064"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab477d8336c54b74499d0dd7404b5a937"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_testable_object__impl.html#ab477d8336c54b74499d0dd7404b5a937">TestableObject_impl</a> ()</td></tr>
<tr class="separator:ab477d8336c54b74499d0dd7404b5a937"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76ee13f7acbea4720716e8e9cd9afe09"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_testable_object__impl.html#a76ee13f7acbea4720716e8e9cd9afe09">runTest</a> (CORBA::ULong TestID, CF::Properties &amp;testValues)  throw (	    CF::UnknownProperties,	    CF::TestableObject::UnknownTest,	    CORBA::SystemException)</td></tr>
<tr class="memdesc:a76ee13f7acbea4720716e8e9cd9afe09"><td class="mdescLeft">&#160;</td><td class="mdescRight">The runTest operation allows components to be “black box” tested.  <a href="#a76ee13f7acbea4720716e8e9cd9afe09">More...</a><br /></td></tr>
<tr class="separator:a76ee13f7acbea4720716e8e9cd9afe09"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The testable object interface provides a means to perform stand alone testing of an SCA component. </p>
<p>This function is useful for built in test (BIT) operations. </p>

<p>Definition at line <a class="el" href="_resource__impl_8h_source.html#l00239">239</a> of file <a class="el" href="_resource__impl_8h_source.html">Resource_impl.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ae365cafdda56fab7156938d015d43064"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">~<a class="el" href="class_testable_object__impl.html">TestableObject_impl</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The testable object interface provides a means to perform stand alone testing of an SCA component. </p>
<p>This function is useful for built in test (BIT) operations. </p>

<p>Definition at line <a class="el" href="_resource__impl_8cpp_source.html#l00098">98</a> of file <a class="el" href="_resource__impl_8cpp_source.html">Resource_impl.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab477d8336c54b74499d0dd7404b5a937"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_testable_object__impl.html">TestableObject_impl</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_resource__impl_8h_source.html#l00245">245</a> of file <a class="el" href="_resource__impl_8h_source.html">Resource_impl.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a76ee13f7acbea4720716e8e9cd9afe09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void runTest </td>
          <td>(</td>
          <td class="paramtype">CORBA::ULong&#160;</td>
          <td class="paramname"><em>TestID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">CF::Properties &amp;&#160;</td>
          <td class="paramname"><em>testValues</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
        <tr>
          <td align="right">throw </td><td>(</td><td colspan="2">	    CF::UnknownProperties,</td>
        </tr>
        <tr>
          <td align="right"></td><td></td><td colspan="2">	    CF::TestableObject::UnknownTest,</td>
        </tr>
        <tr>
          <td align="right"></td><td></td><td colspan="2">CORBA::SystemException</td>
        </tr>
        <tr>
          <td align="right"></td><td>)</td><td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The runTest operation allows components to be “black box” tested. </p>
<p>This allows built-in tests(BITs) to be implemented which provide a means to isolate faults (both software and hardware) within the system.</p>
<p>The runTest operation shall use the input testId parameter to determine which of its predefined test implementations should be performed. The id/value pair(s) of the testValues parameter shall be used to provide additional information to the implementation-specific test to be run. The runTest operation shall return the result(s) of the test in the testValues parameter. Tests to be implemented by a component are component-dependent and are specified in the component’s Properties Descriptor. Valid testId(s) and both input and output testValues(properties) for the runTest operation shall at a minimum be the test properties defined in the properties test element of the component's Properties Descriptor (refer to Appendix D Domain Profile). The testId parameter corresponds to the XML attribute testId of the property element test in a propertyfile. A CF UnknownProperties exception is raised by the runTest operation. All testValues parameter properties (i.e., test properties defined in the propertyfile(s) referenced in the component’s SPD) shall be validated. The runTest operation shall not execute any testing when the input testId or any of the input testValues are not known by the component or are out of range.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">TestID</td><td>Id of the test, use to decide which test should be run. </td></tr>
    <tr><td class="paramdir">[in,out]</td><td class="paramname">testValues</td><td>Values of test result. </td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname">The</td><td>runTest operation shall raise the UnknownTest exception when there is no underlying test implementation that is associated with the input testId given. The runTest operation shall raise the CF UnknownProperties exception when the input parameter testValues contains any CF DataTypes that are not known by the component’s test implementation or any values that are out of range for the requested test. The exception parameter invalidProperties shall contain the invalid testValues properties id(s) that are not known by the component or the value(s) are out of range. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_resource__impl_8cpp_source.html#l00103">103</a> of file <a class="el" href="_resource__impl_8cpp_source.html">Resource_impl.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>frameworks/libCF_Utils/include/<a class="el" href="_resource__impl_8h_source.html">Resource_impl.h</a></li>
<li>frameworks/libCF_Utils/src/<a class="el" href="_resource__impl_8cpp_source.html">Resource_impl.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.13-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_testable_object__impl.html">TestableObject_impl</a></li>
    <li class="footer">Generated on Fri Jul 12 2019 14:31:55 for
    <a href="http://www.onetek.net">
    <img class="footer" src="openscaLogo.png" height="31" alt="openSCA"/></a>
    </li>
  </ul>
</div>
</body>
</html>
